home *** CD-ROM | disk | FTP | other *** search
- package mx.core
- {
- use namespace mx_internal;
-
- public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject
- {
- mx_internal static const VERSION:String = "2.0.1.0";
-
- private var _measuredWidth:Number;
-
- private var _measuredHeight:Number;
-
- public function SpriteAsset()
- {
- super();
- _measuredWidth = width;
- _measuredHeight = height;
- }
-
- public function get measuredWidth() : Number
- {
- return _measuredWidth;
- }
-
- public function get measuredHeight() : Number
- {
- return _measuredHeight;
- }
-
- public function setActualSize(param1:Number, param2:Number) : void
- {
- width = param1;
- height = param2;
- }
-
- public function move(param1:Number, param2:Number) : void
- {
- this.x = param1;
- this.y = param2;
- }
- }
- }
-
-